<template>
  <div class="indexPage">
    <HomePage v-if="pageName === 'HomePage'"></HomePage>
    <MinePage v-if="pageName === 'MinePage'"></MinePage>
    <tabBar :pageName="pageName"></tabBar>
  </div>
</template>

<script>
import HomePage from './home.vue'
import tabBar from './tabBar.vue'
import MinePage from './mine.vue'

export default {
  components: {
    HomePage,
    MinePage,
    tabBar,
  },
  data() {
    return {
      pageName: 'HomePage',
    }
  },
}
</script>

<style></style>
